package com.woniu.mapper;

import com.woniu.pojo.Admin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xiaoruan
 * @since 2023-03-10
 */
public interface AdminMapper extends BaseMapper<Admin> {

    @Select("SELECT user_name FROM wnxt_admin")
    List<String> findAllUserNames();
}
